package com.yiyi.system.domain;

import com.yiyi.common.annotation.Excel;
import com.yiyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 企业微信二维码对象 sys_wxcode
 *
 * @author yiyi
 * @date 2024-09-26
 */
public class SysWxcodeTwo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 企业微信二维码 */
    @Excel(name = "企业微信二维码")
    private String wxCode;

    /** 用户id*/
    private Long userId;

    /** 上班状态（0：下线，1：上线）*/
    private Integer clockStatus;

    /** 用户名称*/
    private String userName;

    /** 用户昵称*/
    private String nickName;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getClockStatus() {
        return clockStatus;
    }

    public void setClockStatus(Integer clockStatus) {
        this.clockStatus = clockStatus;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWxCode(String wxCode)
    {
        this.wxCode = wxCode;
    }

    public String getWxCode()
    {
        return wxCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wxCode", getWxCode())
            .toString();
    }
}
